<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<table  border="1" cellspacing="1">
						<thead>
							<tr>
								<th>ID</th>
								<th>equipment</th>
								<th>ptype</th>
								<th>year</th>
								<th>addtime</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${list}" var="row">
								<tr>
									<td>${row.id}</td>
									<td>${row.equipment}</td>
									<td>${row.ptype}</td>
									<td>${row.year}</td>
									<td>${row.addtime}</td>
									<td><a href="updateUser" onclick="update">修改</a>
									<a href="deleteUser" onclick="delete">删除</a></td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
					<a href="selectAll" onclick="">刷新</a>
					<a href="addUser" onclick="insert">添加</a>
</body>
</html>